using UnityEngine;
using TMPro;
public class DamageText : MonoBehaviour
{
    public TextMeshPro DmgText => GetComponent<TextMeshPro>();
    
    // 回收飘字
    public void ReturnTextToPool(){
        transform.SetParent(null);
        ObjectPooler.ReturnToPool(gameObject);
    }
}


